Tag Link | [String->Equals] | Category | String |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[String->Equals] returns whether the parameter of the tag is equal to the base string. This tag performs exactly the same comparison as the == symbol.
This tag does not take the case of the strings into account when comparing them unless the optional
['String'->(Equals: 'String')]
Required Parameters | |
---|---|
String Value | The string which is to be compared against the base string. |
Optional Parameters | |
-Case | Forces case to be taken into account when comparing the strings. |
To compare two strings:
Use the [String->Equals] tag. The following example compares the base string to the first paramter of [String->Equals]. True is returned since the two strings have the same value.
[If: 'Quick fox'->(Equals: 'QUICK FOX')]True[Else]False[/If]
True